<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="description" content="Premium HTML Template by wwww.creativestable.com" />
    <meta name="keywords" content="" />
    <title>成员详细信息</title>
    <link rel="icon" type="image/ico" href="favicon.ico" />
    
    <link href="css/reset.css" media="all" rel="stylesheet" type="text/css" />
    <link href="css/style.css" media="all" rel="stylesheet" type="text/css" /> 
     <script src="resources/scripts/jquery-1.4.2.min.js" type="text/javascript"></script>
    <!--[if lt IE 8]>
    <link rel="stylesheet" type="text/css" href="css/ie.css" />
    <script type="text/javascript" src="js/dd_belatedpng.js"></script>
    <script> DD_belatedPNG.fix('.pngfix'); </script>
    <![endif]--> 
     <script type="text/javascript">
    	$(function() {
		$.ajax({ //请求登录处理页
			url : "json/user!load", //登录处理页
			tppe : "get",
			dataType : "json",
			async : true,
			//传送请求数据
			success : function(data) { //登录成功后返回的数据
				//根据返回值进行状态显示
				$.each(data.data,function(i,v){
				$("#primary").append(				
				"<img src='files/slider-2.jpg' alt='barn.jpg' class='img-right'/>"+
	            "<p class='subhead'>学号："+v.id+"</p>"+	            
	            "<p>姓名："+v.name+"</p>"+
	            "<p>性别："+v.sex+"</p>"+
	            "<p>班级："+v.clas+"</p>"+
	            "<p>联系方式："+v.phone+"</p>"+
	            "<p>QQ："+v.qq+"</p>"+
	            "<p>邮箱："+v.email+"</p>"+
	            "<p>兴趣爱好："+v.interest+"</p>"+
				"<p>入学年级："+v.grade+"</p>"+
	            "<p>状态："+v.state+"</p><hr />"          
				);  
				});
			}
		});
	});
		</script>
</head>

<body>
    <div id="primary">
           <h3>&#187; 成员介绍</h3>                       
    </div><!--End primary -->    
</body>

</html>